const header = {
  state: {
    visible: false
  },
  mutations: {
    SET_VISIBLE(state, data) {
      state.visible = data;
    }
  },
  actions: {
    setVisible({ commit }, data) {
      commit("SET_VISIBLE", data);
    }
  }
};

export default header;
